Add automatic client reconnection with exponential backoff#188
Open
kfirfer wants to merge 13 commits intoekzhang:mainfrom
Open
Add automatic client reconnection with exponential backoff#188kfirfer wants to merge 13 commits intoekzhang:mainfrom
kfirfer wants to merge 13 commits intoekzhang:mainfrom
Conversation
…nd implementation plan
…ing corrections, tokio version bump, and test impact clarifications
…heartbeat timeout - Add heartbeat timeout to client control connection using server heartbeats for dead connection detection - Introduce exponential backoff with jitter for reconnection delays - Add CLI flags: --no-reconnect to disable auto-reconnect, --max-reconnect-delay to configure backoff cap - Classify authentication errors as fatal (never retried), all others retried automatically - Configure TCP keepalive on control connections for OS-level dead connection detection - Update documentation (README.md, CLAUDE.md) to describe reconnection behavior and new flags - Add unit tests for backoff logic and error classification
…nd improve logging
…live - Add explicit notes to authentication error messages to clarify their use in fatal error classification - Update client and server to log a warning instead of failing if TCP keepalive cannot be set - Refine no_reconnect mode to exit cleanly on disconnect and fail on authentication errors - Enforce minimum value for max_reconnect_delay CLI argument
… and error classification details
…ntainer Registry support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan